// -----------------------------------------------
// Design : Muhamad Aris
// URL    : https://www.facebook.com/aris.zoldyck
// -----------------------------------------------
//<![CDATA[
$(document).ready(function() {
    var stickyNavTop = $('.menujohanes').offset().top; 
    var stickyNav = function(){
        var scrollTop = $(window).scrollTop();          
        if (scrollTop > stickyNavTop) { 
            $('.menujohanes').css({ 'position': 'fixed', 'top':0, 'z-index':9999 });
        } else {
            $('.menujohanes').css({'position': 'relative' });
        }
    };
    stickyNav();
    $(window).scroll(function() {
        stickyNav();
    });
});
//]]>